package com.tang.qzzp.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author 唐海清
 * @Version V1.0
 * @Description ......
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user")
public class User implements Serializable {
    private String userId;
    private String userName;
    private String userPassword;
    private String userEmail;
    private Integer userStatus;
    @TableField(value = "user_create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(value = "user_update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    @TableField(value = "user_version")
    private Integer version;
    @TableField(value = "user_is_deleted")
    @TableLogic
    private Integer deleted;
}
